<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <link rel="stylesheet" href="css/listings.css">
    <link rel="shortcut icon" href="image/listings_img/favicon.ico" type="image/x-icon">

    <title>编辑列表</title>
</head>

<body style="overflow-x: hidden">
    <div id="app">
        <div class="listings-head">
            <div class="head-l fz16 c999 pinl30">
                列出您的房产
            </div>
            <div class="head-r fz16 c999 pinl30">
                预览列表
            </div>
        </div>
        <div class="listings-body">
            <div class="body-l" style="height: 900px;">
                <div class="lists linh">清单</div>
                <a>
                    <div class="Unselected linh edit location" @click="sidebar($event)">位置</div>
                </a>
                <a>
                    <div class="Unselected linh edit location" @click="sidebar($event)">基本</div>
                </a>
                <a>
                    <div class="Unselected linh edit location" @click="sidebar($event)">设施</div>
                </a>
                <a>
                    <div class="checked linh location" @click="sidebar($event)">照片</div>
                </a>
                <a>
                    <div class="Unselected linh edit location" @click="sidebar($event)">描述</div>
                </a>
                <a>
                    <div class="Unselected linh edit location" @click="sidebar($event)">定价</div>
                </a>
            </div>
            <div class="body-r">
                <div class="r-margin">
                    <div class="r-r">
                        <div class="r-title">
                            <h3 class="fontw c444">照片可以使您的空间栩栩如生</h2>
                                <h5 class="fontw c777">添加房客有权访问的区域的照片。您始终可以稍后返回并添加更多内容。</h4>
                        </div>
                        <div class="addPhoto margin">


                            <div class="upload_box">
                                <div class='upload_main'>
                                    <div class="upload_choose">
                                        <!-- 按钮选择文件 -->
                                        <span style="vertical-align: middle;">添加照片</span>
                                        <input id="fileImage" @change="selectFile($event)" onchange="choosefiles()" type="file" size="30"
                                            name="fileselect[]" multiple />
                                    </div>
                                </div>

                                <!--<div class="photo-inpu">
                                <label class="photo-lab">
                                    <input id="photo-img" multiple="multiple" type="file" accept="image/*" />
                                </label>
                            </div> -->
                            </div>
                            <div id="img-box" class="martop">
                                <div id="preview" class="upload_preview" style="overflow-x :hidden">
                                    <!-- 预览区域 将它设置为滚动条方便显示多张图片  显示图片 每一张图存放在一个表格里面-->
                                    <div class='imgtable'>
                                        <table id="imgViewtb" class="show_imgtable">
                                            <tbody id="imgViewtbody">
                                            </tbody>
                                        </table>
                                    </div>

                                </div>
                                <div class="tips">
                                    <span class="tips-txt">*</span>
                                    <span class="tips-txt1">请选择照片</span>
                                </div>
                            </div>

                            <div class="bottom martop">
                                <a href="javascript:history.back(-1)">
                                    <div class="bottompin">返回</div>
                                </a>
                                <a>
                                    <div class="bottompin" @click="addvillas">下一步</div>
                                </a>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </div>

    <script src="js/api.js"></script>
    <script src="vue/vue.min.js"></script>
    <script src="axios/axios.js"></script>
    <script src="jquery/jquery-3.6.0.js"></script>
    <script src="js/listings4.js"></script>

</body>

</html>